package com.yami.shop.webservice.common.service;


import cn.hutool.extra.mail.MailException;
import com.alibaba.fastjson.JSONArray;
import com.yami.shop.bean.vo.DawToVo;
import com.yami.shop.common.exception.YamiShopBindException;

import java.util.List;
import java.util.Map;

/**
 * 划转
 *
 * @author zhangchaoqun
 * @date 2021-10-13
 */
public interface WapiDawService
{
    /**
     * 划转
     * @param dawList
     * @return
     * @throws MailException
     */
    public Map<String, Object> changeCeceipt(List<DawToVo> dawList,String applyId) throws MailException;

    /**
     * 获取划转藏品报文
     * @param dawList
     * @param applyHwjId
     * @return
     * @throws MailException
     */
    public String getchangeCeceipt(List<DawToVo> dawList,String applyHwjId) throws MailException;

    /**
     * 查询划转结果
     */
    public JSONArray getChangeCeceiptResult(List<String> applyIdList) throws YamiShopBindException;
}
